﻿using System.Collections.Generic;
using System.Runtime.Serialization;

namespace WEIShareWCFRole.BusinessEntities.Paging
{
    [DataContract]
    public class PageResponse<T>
    {
        [DataMember]
        public List<T> PageListing { get; set; }

        [DataMember]
        public int TotalPages { get; set; }

        [DataMember]
        public int PageNumber { get; set; }

        [DataMember]
        public bool IsCached { get; set; }
    }
}